package com.wanjia.bpsapi.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@TableName("distance")
@Schema(title ="Distance对象", description = "距离信息表")
@Data
public class Distance implements Serializable {

    @Schema(title = "ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(title = "基地ID")
    private Long baseId;

    @Schema(title = "客户ID")
    private Long clientId;

    @Schema(title = "最优距离")
    private Double distance;

}
